<template>
<h1>kingjames</h1>
  <input type="text" value="uname">
  <input type="text" v-bind:value="uname">
  <input type="text" :value="uname"></input>
  <a href="KD">点我跳转</a><br>
  <a :href="KD" :title="title">点我跳转</a>
</template>

<script setup>
import {ref} from "vue";

const uname = ref('rose2222');
const KD = ref('https://www.baidu.com');
const title=ref('man is never give up');
</script>


<style scoped>

</style>